package site.wanjiahao.client;


import java.io.IOException;

/**
 * Http get请求抽象类
 */
public abstract class HttpGet extends AbstractHttp {
    
    public static final String GET = "GET";

    // 默认响应类型为json，子类可以重写此字段
    public static final String DEFAULT_CONTEXT_TYPE = "application/json; charset=utf-8";

    public HttpGet() {
        this.method = GET;
        this.contextType = DEFAULT_CONTEXT_TYPE;
    }

}
